package com.atguigu.day03.homework;

import java.util.Scanner;

public class HomeWork12 {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        System.out.println("请输入月份:");
        int month = sc.nextInt();
        switch (month) {
            case 1:
                System.out.println("1月的英语单词是January");
                break;
            case 2:
                System.out.println("2月的英语单词是February");
                break;
            case 3:
                System.out.println("3月的英语单词是March");
                break;
            case 4:
                System.out.println("4月的英语单词是April");
                break;
            case 5:
                System.out.println("5月的英语单词是May");
                break;
            case 6:
                System.out.println("6月的英语单词是June");
                break;
            case 7:
                System.out.println("7月的英语单词是July");
                break;
            case 8:
                System.out.println("8月的英语单词是August");
                break;
            case 9:
                System.out.println("9月的英语单词是September");
                break;
            case 10:
                System.out.println("10月的英语单词是October");
                break;
            case 11:
                System.out.println("11月的英语单词是November");
                break;
            case 12:
                System.out.println("12月的英语单词是December");
                break;
            default:
                System.out.println("您输入的月分有误");
                break;
        }
    }
}
